package com.sunrise.generico.exception;

import com.sunrise.generico.util.MessagesUtil;



public class BusinessException extends RuntimeException {
	
	private static final long serialVersionUID = -7311008902601826479L;
	
	public BusinessException() {
		super("errorCantCompleteOperation");
	}
	
	public BusinessException(String mensagem) {
		super(MessagesUtil.getMessageKey(mensagem));

	}
	
	public BusinessException(Exception ex) {
		super(ex);
	}

}
